package gwtmodule1.client.gui.myaccount;

import gwtmodule1.client.gui.shared.AccountForm;
import gwtmodule1.client.gui.utils.FrameClient;
import gwtmodule1.client.gui.utils.Title;

import com.google.gwt.user.client.ui.VerticalPanel;

public class PageEditAccount extends VerticalPanel implements FrameClient {
	private int userID;

	public PageEditAccount(int userID) {
		super();
		this.userID = userID;
		String t = (userID == 0) ? "Create Account" : "Edit Account";
		add(new Title(t));
		add(new AccountForm(userID, false));
	}

	public void onShow(Object param) {
	}

}
